6e9e5e75203d2772c9bebb846a5e57e20d0c63de,src/test/java/com/wikia/webdriver/testcases/discussions/ReportingPostTests.java,ReportingPostTests,anonUserOnMobileCanNotSeeDeletedPostOnUserPostsPage,#,121

Before Change


  public void anonUserOnMobileCanNotSeeDeletedPostOnUserPostsPage() {
    PostEntity.Data data = createAndReportAndDeletePostRemotely();

    PostEntity post = new UserPostsPage().open(data.getAuthorId()).getPost().findPostById(data.getId());
    Assertion.assertNull(post, ANON_NOT_VISIBLE_DELETED_POST_MESSAGE);
  }

After Change


  @InBrowser(browser = Browser.CHROME, emulator = Emulator.GOOGLE_NEXUS_5)
  public void anonUserOnMobileCanNotSeeDeletedPostOnUserPostsPage() {
    final PostEntity.Data data = createAndReportAndDeletePostRemotely();
    final UserPostsPage open = new UserPostsPage().open(data.getAuthorId());
    final PostEntity post = open.getPost().findPostById(data.getId());
    assertNull(post, ANON_NOT_VISIBLE_DELETED_POST_MESSAGE);
  }